home *** CD-ROM | disk | FTP | other *** search
/ Chip 2006 July / CHIP 2006-07.2.iso / program / web_gelistirme / easyphp1-7_setup.exe / {app} / php / php.ini-recommended < prev    next >
Encoding:
INI File  |  2003-08-24  |  39.6 KB  |  1,112 lines

  1. [PHP]
  2.  
  3. ;;;;;;;;;;;;;;;;;;;
  4. ; About this file ;
  5. ;;;;;;;;;;;;;;;;;;;
  6. ;
  7. ; This is the recommended, PHP 4-style version of the php.ini-dist file.  It
  8. ; sets some non standard settings, that make PHP more efficient, more secure,
  9. ; and encourage cleaner coding.
  10. ; The price is that with these settings, PHP may be incompatible with some
  11. ; applications, and sometimes, more difficult to develop with.  Using this
  12. ; file is warmly recommended for production sites.  As all of the changes from
  13. ; the standard settings are thoroughly documented, you can go over each one,
  14. ; and decide whether you want to use it or not.
  15. ;
  16. ; For general information about the php.ini file, please consult the php.ini-dist
  17. ; file, included in your PHP distribution.
  18. ;
  19. ; This file is different from the php.ini-dist file in the fact that it features
  20. ; different values for several directives, in order to improve performance, while
  21. ; possibly breaking compatibility with the standard out-of-the-box behavior of
  22. ; PHP 3.  Please make sure you read what's different, and modify your scripts
  23. ; accordingly, if you decide to use this file instead.
  24. ;
  25. ; - register_globals = Off         [Security, Performance]
  26. ;     Global variables are no longer registered for input data (POST, GET, cookies,
  27. ;     environment and other server variables).  Instead of using $foo, you must use
  28. ;     you can use $_REQUEST["foo"] (includes any variable that arrives through the
  29. ;     request, namely, POST, GET and cookie variables), or use one of the specific
  30. ;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
  31. ;     on where the input originates.  Also, you can look at the
  32. ;     import_request_variables() function.
  33. ;     Note that register_globals is going to be depracated (i.e., turned off by
  34. ;     default) in the next version of PHP, because it often leads to security bugs.
  35. ;     Read http://php.net/manual/en/security.registerglobals.php for further
  36. ;     information.
  37. ; - display_errors = Off           [Security]
  38. ;     With this directive set to off, errors that occur during the execution of
  39. ;     scripts will no longer be displayed as a part of the script output, and thus,
  40. ;     will no longer be exposed to remote users.  With some errors, the error message
  41. ;     content may expose information about your script, web server, or database
  42. ;     server that may be exploitable for hacking.  Production sites should have this
  43. ;     directive set to off.
  44. ; - log_errors = On                [Security]
  45. ;     This directive complements the above one.  Any errors that occur during the
  46. ;     execution of your script will be logged (typically, to your server's error log,
  47. ;     but can be configured in several ways).  Along with setting display_errors to off,
  48. ;     this setup gives you the ability to fully understand what may have gone wrong,
  49. ;     without exposing any sensitive information to remote users.
  50. ; - output_buffering = 4096        [Performance]
  51. ;     Set a 4KB output buffer.  Enabling output buffering typically results in less
  52. ;     writes, and sometimes less packets sent on the wire, which can often lead to
  53. ;     better performance.  The gain this directive actually yields greatly depends
  54. ;     on which Web server you're working with, and what kind of scripts you're using.
  55. ; - register_argc_argv = Off       [Performance]
  56. ;     Disables registration of the somewhat redundant $argv and $argc global
  57. ;     variables.
  58. ; - magic_quotes_gpc = Off         [Performance]
  59. ;     Input data is no longer escaped with slashes so that it can be sent into
  60. ;     SQL databases without further manipulation.  Instead, you should use the
  61. ;     function addslashes() on each input element you wish to send to a database.
  62. ; - variables_order = "GPCS"       [Performance]
  63. ;     The environment variables are not hashed into the $HTTP_ENV_VARS[].  To access
  64. ;     environment variables, you can use getenv() instead.
  65. ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
  66. ;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
  67. ;     are emitted for non-critical errors, but that could be a symptom of a bigger
  68. ;     problem.  Most notably, this will cause error messages about the use
  69. ;     of uninitialized variables to be displayed.
  70. ; - allow_call_time_pass_reference = Off     [Code cleanliness]
  71. ;     It's not possible to decide to force a variable to be passed by reference
  72. ;     when calling a function.  The PHP 4 style to do this is by making the
  73. ;     function require the relevant argument by reference.
  74.  
  75.  
  76. ;;;;;;;;;;;;;;;;;;;;
  77. ; Language Options ;
  78. ;;;;;;;;;;;;;;;;;;;;
  79.  
  80. ; Enable the PHP scripting language engine under Apache.
  81. engine = On
  82.  
  83. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
  84. ; NOTE: Using short tags should be avoided when developing applications or
  85. ; libraries that are meant for redistribution, or deployment on PHP
  86. ; servers which are not under your control, because short tags may not
  87. ; be supported on the target server. For portable, redistributable code,
  88. ; be sure not to use short tags.
  89. short_open_tag = On
  90.  
  91. ; Allow ASP-style <% %> tags.
  92. asp_tags = Off
  93.  
  94. ; The number of significant digits displayed in floating point numbers.
  95. precision    =  14
  96.  
  97. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  98. y2k_compliance = On
  99.  
  100. ; Output buffering allows you to send header lines (including cookies) even
  101. ; after you send body content, at the price of slowing PHP's output layer a
  102. ; bit.  You can enable output buffering during runtime by calling the output
  103. ; buffering functions.  You can also enable output buffering for all files by
  104. ; setting this directive to On.  If you wish to limit the size of the buffer
  105. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  106. ; a value for this directive (e.g., output_buffering=4096).
  107. output_buffering = 4096
  108.  
  109. ; You can redirect all of the output of your scripts to a function.  For
  110. ; example, if you set output_handler to "mb_output_handler", character
  111. ; encoding will be transparently converted to the specified encoding.
  112. ; Setting any output handler automatically turns on output buffering.
  113. ; Note: People who wrote portable scripts should not depend on this ini
  114. ;       directive. Instead, explicitly set the output handler using ob_start().
  115. ;       Using this ini directive may cause problems unless you know what script 
  116. ;       is doing.
  117. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  118. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression". 
  119. ;output_handler =
  120.  
  121. ; Transparent output compression using the zlib library
  122. ; Valid values for this option are 'off', 'on', or a specific buffer size
  123. ; to be used for compression (default is 4KB)
  124. ; Note: Resulting chunk size may vary due to nature of compression. PHP 
  125. ;       outputs chunks that are few handreds bytes each as a result of compression. 
  126. ;       If you want larger chunk size for better performence, enable output_buffering 
  127. ;       also. 
  128. ; Note: output_handler must be empty if this is set 'On' !!!!
  129. ;       Instead you must use zlib.output_handler.
  130. zlib.output_compression = Off
  131.  
  132. ; You cannot specify additional output handlers if zlib.output_compression
  133. ; is activated here. This setting does the same as output_handler but in
  134. ; a different order.
  135. ;zlib.output_handler =
  136.  
  137. ; Implicit flush tells PHP to tell the output layer to flush itself
  138. ; automatically after every output block.  This is equivalent to calling the
  139. ; PHP function flush() after each and every call to print() or echo() and each
  140. ; and every HTML block.  Turning this option on has serious performance
  141. ; implications and is generally recommended for debugging purposes only.
  142. implicit_flush = Off
  143.  
  144. ; The unserialize callback function will called (with the undefind class'
  145. ; name as parameter), if the unserializer finds an undefined class
  146. ; which should be instanciated.
  147. ; A warning appears if the specified function is not defined, or if the
  148. ; function doesn't include/implement the missing class.
  149. ; So only set this entry, if you really want to implement such a 
  150. ; callback-function.
  151. unserialize_callback_func=
  152.  
  153. ; When floats & doubles are serialized store serialize_precision significant
  154. ; digits after the floating point. The default value ensures that when floats
  155. ; are decoded with unserialize, the data will remain the same.
  156. serialize_precision = 100
  157.  
  158. ; Whether to enable the ability to force arguments to be passed by reference
  159. ; at function call time.  This method is deprecated and is likely to be
  160. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  161. ; specifying which arguments should be passed by reference is in the function
  162. ; declaration.  You're encouraged to try and turn this option Off and make
  163. ; sure your scripts work properly with it in order to ensure they will work
  164. ; with future versions of the language (you will receive a warning each time
  165. ; you use this feature, and the argument will be passed by value instead of by
  166. ; reference).
  167. allow_call_time_pass_reference = Off
  168.  
  169. ;
  170. ; Safe Mode
  171. ;
  172. safe_mode = Off
  173.  
  174. ; By default, Safe Mode does a UID compare check when
  175. ; opening files. If you want to relax this to a GID compare,
  176. ; then turn on safe_mode_gid.
  177. safe_mode_gid = Off
  178.  
  179. ; When safe_mode is on, UID/GID checks are bypassed when
  180. ; including files from this directory and its subdirectories.
  181. ; (directory must also be in include_path or full path must
  182. ; be used when including)
  183. safe_mode_include_dir =                                
  184.  
  185. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  186. ; will be allowed to be executed via the exec family of functions.
  187. safe_mode_exec_dir =
  188.  
  189. ; Setting certain environment variables may be a potential security breach.
  190. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  191. ; the user may only alter environment variables whose names begin with the
  192. ; prefixes supplied here.  By default, users will only be able to set
  193. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  194. ;
  195. ; Note:  If this directive is empty, PHP will let the user modify ANY
  196. ; environment variable!
  197. safe_mode_allowed_env_vars = PHP_
  198.  
  199. ; This directive contains a comma-delimited list of environment variables that
  200. ; the end user won't be able to change using putenv().  These variables will be
  201. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  202. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  203.  
  204. ; open_basedir, if set, limits all file operations to the defined directory
  205. ; and below.  This directive makes most sense if used in a per-directory
  206. ; or per-virtualhost web server configuration file. This directive is
  207. ; *NOT* affected by whether Safe Mode is turned On or Off.
  208. ;open_basedir =
  209.  
  210. ; This directive allows you to disable certain functions for security reasons.
  211. ; It receives a comma-delimited list of function names. This directive is
  212. ; *NOT* affected by whether Safe Mode is turned On or Off.
  213. disable_functions =
  214.  
  215. ; This directive allows you to disable certain classes for security reasons.
  216. ; It receives a comma-delimited list of class names. This directive is
  217. ; *NOT* affected by whether Safe Mode is turned On or Off.
  218. disable_classes =
  219.  
  220. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  221. ; <font color="??????"> would work.
  222. ;highlight.string  = #DD0000
  223. ;highlight.comment = #FF9900
  224. ;highlight.keyword = #007700
  225. ;highlight.bg      = #FFFFFF
  226. ;highlight.default = #0000BB
  227. ;highlight.html    = #000000
  228.  
  229.  
  230. ;
  231. ; Misc
  232. ;
  233. ; Decides whether PHP may expose the fact that it is installed on the server
  234. ; (e.g. by adding its signature to the Web server header).  It is no security
  235. ; threat in any way, but it makes it possible to determine whether you use PHP
  236. ; on your server or not.
  237. expose_php = On
  238.  
  239.  
  240. ;;;;;;;;;;;;;;;;;;;
  241. ; Resource Limits ;
  242. ;;;;;;;;;;;;;;;;;;;
  243.  
  244. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  245. max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
  246. memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
  247.  
  248.  
  249. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  250. ; Error handling and logging ;
  251. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  252.  
  253. ; error_reporting is a bit-field.  Or each number up to get desired error
  254. ; reporting level
  255. ; E_ALL             - All errors and warnings
  256. ; E_ERROR           - fatal run-time errors
  257. ; E_WARNING         - run-time warnings (non-fatal errors)
  258. ; E_PARSE           - compile-time parse errors
  259. ; E_NOTICE          - run-time notices (these are warnings which often result
  260. ;                     from a bug in your code, but it's possible that it was
  261. ;                     intentional (e.g., using an uninitialized variable and
  262. ;                     relying on the fact it's automatically initialized to an
  263. ;                     empty string)
  264. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  265. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  266. ;                     initial startup
  267. ; E_COMPILE_ERROR   - fatal compile-time errors
  268. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  269. ; E_USER_ERROR      - user-generated error message
  270. ; E_USER_WARNING    - user-generated warning message
  271. ; E_USER_NOTICE     - user-generated notice message
  272. ;
  273. ; Examples:
  274. ;
  275. ;   - Show all errors, except for notices
  276. ;
  277. ;error_reporting = E_ALL & ~E_NOTICE
  278. ;
  279. ;   - Show only errors
  280. ;
  281. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  282. ;
  283. ;   - Show all errors
  284. ;
  285. error_reporting  =  E_ALL
  286.  
  287. ; Print out errors (as a part of the output).  For production web sites,
  288. ; you're strongly encouraged to turn this feature off, and use error logging
  289. ; instead (see below).  Keeping display_errors enabled on a production web site
  290. ; may reveal security information to end users, such as file paths on your Web
  291. ; server, your database schema or other information.
  292. display_errors = Off
  293.  
  294. ; Even when display_errors is on, errors that occur during PHP's startup
  295. ; sequence are not displayed.  It's strongly recommended to keep
  296. ; display_startup_errors off, except for when debugging.
  297. display_startup_errors = Off
  298.  
  299. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  300. ; As stated above, you're strongly advised to use error logging in place of
  301. ; error displaying on production web sites.
  302. log_errors = On
  303.  
  304. ; Set maximum length of log_errors. In error_log information about the source is
  305. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  306. log_errors_max_len = 1024
  307.  
  308. ; Do not log repeated messages. Repeated errors must occur in same file on same
  309. ; line until ignore_repeated_source is set true.
  310. ignore_repeated_errors = Off
  311.  
  312. ; Ignore source of message when ignoring repeated messages. When this setting 
  313. ; is On you will not log errors with repeated messages from different files or
  314. ; sourcelines.
  315. ignore_repeated_source = Off
  316.  
  317. ; If this parameter is set to Off, then memory leaks will not be shown (on
  318. ; stdout or in the log). This has only effect in a debug compile, and if 
  319. ; error reporting includes E_WARNING in the allowed list
  320. report_memleaks = On
  321.  
  322. ; Store the last error/warning message in $php_errormsg (boolean).
  323. track_errors = Off
  324.  
  325. ; Disable the inclusion of HTML tags in error messages.
  326. ;html_errors = Off
  327.  
  328. ; If html_errors is set On PHP produces clickable error messages that direct 
  329. ; to a page describing the error or function causing the error in detail.
  330. ; You can download a copy of the PHP manual from http://www.php.net/docs.php 
  331. ; and change docref_root to the base URL of your local copy including the
  332. ; leading '/'. You must also specify the file extension being used including 
  333. ; the dot.
  334. ;docref_root = "/phpmanual/"
  335. ;docref_ext = .html
  336.   
  337. ; String to output before an error message.
  338. ;error_prepend_string = "<font color=ff0000>"
  339.  
  340. ; String to output after an error message.
  341. ;error_append_string = "</font>"
  342.  
  343. ; Log errors to specified file.
  344. ;error_log = filename
  345.  
  346. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  347. ;error_log = syslog
  348.  
  349.  
  350. ;;;;;;;;;;;;;;;;;
  351. ; Data Handling ;
  352. ;;;;;;;;;;;;;;;;;
  353. ;
  354. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  355.  
  356. ; The separator used in PHP generated URLs to separate arguments.
  357. ; Default is "&". 
  358. ;arg_separator.output = "&"
  359.  
  360. ; List of separator(s) used by PHP to parse input URLs into variables.
  361. ; Default is "&". 
  362. ; NOTE: Every character in this directive is considered as separator!
  363. ;arg_separator.input = ";&"
  364.  
  365. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  366. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  367. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  368. ; values override older values.
  369. variables_order = "GPCS"
  370.  
  371. ; Whether or not to register the EGPCS variables as global variables.  You may
  372. ; want to turn this off if you don't want to clutter your scripts' global scope
  373. ; with user data.  This makes most sense when coupled with track_vars - in which
  374. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  375. ; variables.
  376. ;
  377. ; You should do your best to write your scripts so that they do not require
  378. ; register_globals to be on;  Using form variables as globals can easily lead
  379. ; to possible security problems, if the code is not very well thought of.
  380. register_globals = Off
  381.  
  382. ; This directive tells PHP whether to declare the argv&argc variables (that
  383. ; would contain the GET information).  If you don't use these variables, you
  384. ; should turn it off for increased performance.
  385. register_argc_argv = Off
  386.  
  387. ; Maximum size of POST data that PHP will accept.
  388. post_max_size = 8M
  389.  
  390. ; This directive is deprecated.  Use variables_order instead.
  391. gpc_order = "GPC"
  392.  
  393. ; Magic quotes
  394. ;
  395.  
  396. ; Magic quotes for incoming GET/POST/Cookie data.
  397. magic_quotes_gpc = Off
  398.  
  399. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  400. magic_quotes_runtime = Off    
  401.  
  402. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  403. magic_quotes_sybase = Off
  404.  
  405. ; Automatically add files before or after any PHP document.
  406. auto_prepend_file =
  407. auto_append_file =
  408.  
  409. ; As of 4.0b4, PHP always outputs a character encoding by default in
  410. ; the Content-type: header.  To disable sending of the charset, simply
  411. ; set it to be empty.
  412. ;
  413. ; PHP's built-in default is text/html
  414. default_mimetype = "text/html"
  415. ;default_charset = "iso-8859-1"
  416.  
  417. ; Always populate the $HTTP_RAW_POST_DATA variable.                               
  418. ;always_populate_raw_post_data = On
  419.  
  420.  
  421. ;;;;;;;;;;;;;;;;;;;;;;;;;
  422. ; Paths and Directories ;
  423. ;;;;;;;;;;;;;;;;;;;;;;;;;
  424.  
  425. ; UNIX: "/path1:/path2"  
  426. ;include_path = ".:/php/includes"
  427. ;
  428. ; Windows: "\path1;\path2"
  429. ;include_path = ".;c:\php\includes"
  430.  
  431. ; The root of the PHP pages, used only if nonempty.
  432. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  433. ; if you are running php as a CGI under any web server (other than IIS)
  434. ; see documentation for security issues.  The alternate is to use the
  435. ; cgi.force_redirect configuration below
  436. doc_root =
  437.  
  438. ; The directory under which PHP opens the script using /~usernamem used only
  439. ; if nonempty.
  440. user_dir =
  441.  
  442. ; Directory in which the loadable extensions (modules) reside.
  443. extension_dir = "./"
  444.  
  445. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  446. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  447. ; disabled on them.
  448. enable_dl = On
  449.  
  450. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  451. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  452. ; turn it off here AT YOUR OWN RISK
  453. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  454. ; cgi.force_redirect = 1
  455.  
  456. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
  457. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  458. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  459. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  460. ; cgi.redirect_status_env = ;
  461.  
  462. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  463. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  464. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  465. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
  466. ; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
  467. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  468. ; cgi.fix_pathinfo=1
  469.  
  470. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  471. ; security tokens of the calling client.  This allows IIS to define the
  472. ; security context that the request runs under.  mod_fastcgi under Apache
  473. ; does not currently support this feature (03/17/2002)
  474. ; Set to 1 if running under IIS.  Default is zero.
  475. ; fastcgi.impersonate = 1;
  476.  
  477. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  478. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  479. ; is supported by Apache. When this option is set to 1 PHP will send
  480. ; RFC2616 compliant header.
  481. ; Default is zero.
  482. ;cgi.rfc2616_headers = 0 
  483.  
  484.  
  485. ;;;;;;;;;;;;;;;;
  486. ; File Uploads ;
  487. ;;;;;;;;;;;;;;;;
  488.  
  489. ; Whether to allow HTTP file uploads.
  490. file_uploads = On
  491.  
  492. ; Temporary directory for HTTP uploaded files (will use system default if not
  493. ; specified).
  494. ;upload_tmp_dir =
  495.  
  496. ; Maximum allowed size for uploaded files.
  497. upload_max_filesize = 2M
  498.  
  499.  
  500. ;;;;;;;;;;;;;;;;;;
  501. ; Fopen wrappers ;
  502. ;;;;;;;;;;;;;;;;;;
  503.  
  504. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  505. allow_url_fopen = On
  506.  
  507. ; Define the anonymous ftp password (your email address)
  508. ;from="john@doe.com"
  509.  
  510. ; Define the user agent for php to send
  511. ;user_agent="PHP"
  512.  
  513. ; Default timeout for socket based streams (seconds)
  514. default_socket_timeout = 60
  515.  
  516. ; If your scripts have to deal with files from Macintosh systems,
  517. ; or you are running on a Mac and need to deal with files from
  518. ; unix or win32 systems, setting this flag will cause PHP to
  519. ; automatically detect the EOL character in those files so that
  520. ; fgets() and file() will work regardless of the source of the file.
  521. ; auto_detect_line_endings = Off
  522.  
  523.  
  524. ;;;;;;;;;;;;;;;;;;;;;;
  525. ; Dynamic Extensions ;
  526. ;;;;;;;;;;;;;;;;;;;;;;
  527. ;
  528. ; If you wish to have an extension loaded automatically, use the following
  529. ; syntax:
  530. ;
  531. ;   extension=modulename.extension
  532. ;
  533. ; For example, on Windows:
  534. ;
  535. ;   extension=msql.dll
  536. ;
  537. ; ... or under UNIX:
  538. ;
  539. ;   extension=msql.so
  540. ;
  541. ; Note that it should be the name of the module only; no directory information 
  542. ; needs to go here.  Specify the location of the extension with the
  543. ; extension_dir directive above.
  544.  
  545.  
  546. ;Windows Extensions
  547. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  548. ;
  549. ;extension=php_bz2.dll
  550. ;extension=php_cpdf.dll
  551. ;extension=php_crack.dll
  552. ;extension=php_curl.dll
  553. ;extension=php_db.dll
  554. ;extension=php_dba.dll
  555. ;extension=php_dbase.dll
  556. ;extension=php_dbx.dll
  557. ;extension=php_domxml.dll
  558. ;extension=php_exif.dll
  559. ;extension=php_fdf.dll
  560. ;extension=php_filepro.dll
  561. ;extension=php_gd2.dll
  562. ;extension=php_gettext.dll
  563. ;extension=php_hyperwave.dll
  564. ;extension=php_iconv.dll
  565. ;extension=php_ifx.dll
  566. ;extension=php_iisfunc.dll
  567. ;extension=php_imap.dll
  568. ;extension=php_interbase.dll
  569. ;extension=php_java.dll
  570. ;extension=php_ldap.dll
  571. ;extension=php_mbstring.dll
  572. ;extension=php_mcrypt.dll
  573. ;extension=php_mhash.dll
  574. ;extension=php_mime_magic.dll
  575. ;extension=php_ming.dll
  576. ;extension=php_mssql.dll
  577. ;extension=php_msql.dll
  578. ;extension=php_oci8.dll
  579. ;extension=php_openssl.dll
  580. ;extension=php_oracle.dll
  581. ;extension=php_pdf.dll
  582. ;extension=php_pgsql.dll
  583. ;extension=php_printer.dll
  584. ;extension=php_shmop.dll
  585. ;extension=php_snmp.dll
  586. ;extension=php_sockets.dll
  587. ;extension=php_sybase_ct.dll
  588. ;extension=php_w32api.dll
  589. ;extension=php_xmlrpc.dll
  590. ;extension=php_xslt.dll
  591. ;extension=php_yaz.dll
  592. ;extension=php_zip.dll
  593.  
  594.  
  595. ;;;;;;;;;;;;;;;;;;;
  596. ; Module Settings ;
  597. ;;;;;;;;;;;;;;;;;;;
  598.  
  599. [Syslog]
  600. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  601. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  602. ; runtime, you can define these variables by calling define_syslog_variables().
  603. define_syslog_variables  = Off
  604.  
  605. [mail function]
  606. ; For Win32 only.
  607. SMTP = localhost
  608.  
  609. ; For Win32 only.
  610. sendmail_from = me@localhost.com
  611.  
  612. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  613. ;sendmail_path =
  614.  
  615. [Java]
  616. ;java.class.path = .\php_java.jar
  617. ;java.home = c:\jdk
  618. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
  619. ;java.library.path = .\
  620.  
  621. [SQL]
  622. sql.safe_mode = Off
  623.  
  624. [ODBC]
  625. ;odbc.default_db    =  Not yet implemented
  626. ;odbc.default_user  =  Not yet implemented
  627. ;odbc.default_pw    =  Not yet implemented
  628.  
  629. ; Allow or prevent persistent links.
  630. odbc.allow_persistent = On
  631.  
  632. ; Check that a connection is still valid before reuse.
  633. odbc.check_persistent = On
  634.  
  635. ; Maximum number of persistent links.  -1 means no limit.
  636. odbc.max_persistent = -1
  637.  
  638. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  639. odbc.max_links = -1  
  640.  
  641. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  642. ; passthru.
  643. odbc.defaultlrl = 4096  
  644.  
  645. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  646. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  647. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  648. odbc.defaultbinmode = 1  
  649.  
  650. [MySQL]
  651. ; Allow or prevent persistent links.
  652. mysql.allow_persistent = On
  653.  
  654. ; Maximum number of persistent links.  -1 means no limit.
  655. mysql.max_persistent = -1
  656.  
  657. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  658. mysql.max_links = -1
  659.  
  660. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  661. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  662. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  663. ; at MYSQL_PORT.
  664. mysql.default_port =
  665.  
  666. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  667. ; MySQL defaults.
  668. mysql.default_socket =
  669.  
  670. ; Default host for mysql_connect() (doesn't apply in safe mode).
  671. mysql.default_host =
  672.  
  673. ; Default user for mysql_connect() (doesn't apply in safe mode).
  674. mysql.default_user =
  675.  
  676. ; Default password for mysql_connect() (doesn't apply in safe mode).
  677. ; Note that this is generally a *bad* idea to store passwords in this file.
  678. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  679. ; and reveal this password!  And of course, any users with read access to this
  680. ; file will be able to reveal the password as well.
  681. mysql.default_password =
  682.  
  683. ; Maximum time (in secondes) for connect timeout. -1 means no limimt
  684. mysql.connect_timeout = 60
  685.  
  686. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  687. ; SQL-Erros will be displayed.
  688. mysql.trace_mode = Off
  689.  
  690. [mSQL]
  691. ; Allow or prevent persistent links.
  692. msql.allow_persistent = On
  693.  
  694. ; Maximum number of persistent links.  -1 means no limit.
  695. msql.max_persistent = -1
  696.  
  697. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  698. msql.max_links = -1
  699.  
  700. [PostgresSQL]
  701. ; Allow or prevent persistent links.
  702. pgsql.allow_persistent = On
  703.  
  704. ; Detect broken persistent links always with pg_pconnect(). 
  705. ; Auto reset feature requires a little overheads.
  706. pgsql.auto_reset_persistent = Off
  707.  
  708. ; Maximum number of persistent links.  -1 means no limit.
  709. pgsql.max_persistent = -1
  710.  
  711. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  712. pgsql.max_links = -1
  713.  
  714. ; Ignore PostgreSQL backends Notice message or not.
  715. ; Notice message logging require a little overheads.
  716. pgsql.ignore_notice = 0
  717.  
  718. ; Log PostgreSQL backends Noitce message or not.
  719. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  720. pgsql.log_notice = 0
  721.  
  722. [Sybase]
  723. ; Allow or prevent persistent links.
  724. sybase.allow_persistent = On
  725.  
  726. ; Maximum number of persistent links.  -1 means no limit.
  727. sybase.max_persistent = -1
  728.  
  729. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  730. sybase.max_links = -1
  731.  
  732. ;sybase.interface_file = "/usr/sybase/interfaces"
  733.  
  734. ; Minimum error severity to display.
  735. sybase.min_error_severity = 10
  736.  
  737. ; Minimum message severity to display.
  738. sybase.min_message_severity = 10
  739.  
  740. ; Compatability mode with old versions of PHP 3.0.
  741. ; If on, this will cause PHP to automatically assign types to results according
  742. ; to their Sybase type, instead of treating them all as strings.  This
  743. ; compatability mode will probably not stay around forever, so try applying
  744. ; whatever necessary changes to your code, and turn it off.
  745. sybase.compatability_mode = Off
  746.  
  747. [Sybase-CT]
  748. ; Allow or prevent persistent links.
  749. sybct.allow_persistent = On
  750.  
  751. ; Maximum number of persistent links.  -1 means no limit.
  752. sybct.max_persistent = -1
  753.  
  754. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  755. sybct.max_links = -1
  756.  
  757. ; Minimum server message severity to display.
  758. sybct.min_server_severity = 10
  759.  
  760. ; Minimum client message severity to display.
  761. sybct.min_client_severity = 10
  762.  
  763. [dbx]
  764. ; returned column names can be converted for compatibility reasons
  765. ; possible values for dbx.colnames_case are
  766. ; "unchanged" (default, if not set)
  767. ; "lowercase"
  768. ; "uppercase"
  769. ; the recommended default is either upper- or lowercase, but
  770. ; unchanged is currently set for backwards compatibility
  771. dbx.colnames_case = "lowercase"
  772.  
  773. [bcmath]
  774. ; Number of decimal digits for all bcmath functions.
  775. bcmath.scale = 0
  776.  
  777. [browscap]
  778. ;browscap = extra/browscap.ini
  779.  
  780. [Informix]
  781. ; Default host for ifx_connect() (doesn't apply in safe mode).
  782. ifx.default_host =
  783.  
  784. ; Default user for ifx_connect() (doesn't apply in safe mode).
  785. ifx.default_user =
  786.  
  787. ; Default password for ifx_connect() (doesn't apply in safe mode).
  788. ifx.default_password =
  789.  
  790. ; Allow or prevent persistent links.
  791. ifx.allow_persistent = On
  792.  
  793. ; Maximum number of persistent links.  -1 means no limit.
  794. ifx.max_persistent = -1
  795.  
  796. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  797. ifx.max_links = -1
  798.  
  799. ; If on, select statements return the contents of a text blob instead of its id.
  800. ifx.textasvarchar = 0
  801.  
  802. ; If on, select statements return the contents of a byte blob instead of its id.
  803. ifx.byteasvarchar = 0
  804.  
  805. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  806. ; life of Informix SE users.
  807. ifx.charasvarchar = 0
  808.  
  809. ; If on, the contents of text and byte blobs are dumped to a file instead of
  810. ; keeping them in memory.
  811. ifx.blobinfile = 0
  812.  
  813. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  814. ; NULL's are returned as string 'NULL'.
  815. ifx.nullformat = 0
  816.  
  817. [Session]
  818. ; Handler used to store/retrieve data.
  819. session.save_handler = files
  820.  
  821. ; Argument passed to save_handler.  In the case of files, this is the path
  822. ; where data files are stored. Note: Windows users have to change this 
  823. ; variable in order to use PHP's session functions.
  824. session.save_path = /tmp
  825.  
  826. ; Whether to use cookies.
  827. session.use_cookies = 1
  828.  
  829. ; This option enables administrators to make their users invulnerable to 
  830. ; attacks which involve passing session ids in URLs; defaults to 0.
  831. ; session.use_only_cookies = 1
  832.  
  833. ; Name of the session (used as cookie name).
  834. session.name = PHPSESSID
  835.  
  836. ; Initialize session on request startup.
  837. session.auto_start = 0
  838.  
  839. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  840. session.cookie_lifetime = 0
  841.  
  842. ; The path for which the cookie is valid.
  843. session.cookie_path = /
  844.  
  845. ; The domain for which the cookie is valid.
  846. session.cookie_domain =
  847.  
  848. ; Handler used to serialize data.  php is the standard serializer of PHP.
  849. session.serialize_handler = php
  850.  
  851. ; Define the probability that the 'garbage collection' process is started
  852. ; on every session initialization.
  853. ; The probability is calculated by using gc_probability/gc_divisor,
  854. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  855. ; on each request.
  856.  
  857. session.gc_probability = 1
  858. session.gc_divisor     = 1000
  859.  
  860. ; After this number of seconds, stored data will be seen as 'garbage' and
  861. ; cleaned up by the garbage collection process.
  862. session.gc_maxlifetime = 1440
  863.  
  864. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  865. ; to initialize a session variable in the global scope, albeit register_globals
  866. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  867. ; You can disable the feature and the warning seperately. At this time,
  868. ; the warning is only displayed, if bug_compat_42 is enabled.
  869.  
  870. session.bug_compat_42 = 0
  871. session.bug_compat_warn = 1
  872.  
  873. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  874. ; HTTP_REFERER has to contain this substring for the session to be
  875. ; considered as valid.
  876. session.referer_check =
  877.  
  878. ; How many bytes to read from the file.
  879. session.entropy_length = 0
  880.  
  881. ; Specified here to create the session id.
  882. session.entropy_file =
  883.  
  884. ;session.entropy_length = 16
  885.  
  886. ;session.entropy_file = /dev/urandom
  887.  
  888. ; Set to {nocache,private,public,} to determine HTTP caching aspects.
  889. ; or leave this empty to avoid sending anti-caching headers.
  890. session.cache_limiter = nocache
  891.  
  892. ; Document expires after n minutes.
  893. session.cache_expire = 180
  894.  
  895. ; trans sid support is disabled by default.
  896. ; Use of trans sid may risk your users security.
  897. ; Use this option with caution.
  898. ; - User may send URL contains active session ID
  899. ;   to other person via. email/irc/etc.
  900. ; - URL that contains active session ID may be stored
  901. ;   in publically accessible computer. 
  902. ; - User may access your site with the same session ID
  903. ;   always using URL stored in browser's history or bookmarks.
  904. session.use_trans_sid = 0
  905.  
  906. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  907. ; form/fieldset are special; if you include them here, the rewriter will
  908. ; add a hidden <input> field with the info which is otherwise appended
  909. ; to URLs.  If you want XHTML conformity, remove the form entry.
  910. ; Note that all valid entries require a "=", even if no value follows.
  911. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  912.  
  913. [MSSQL]
  914. ; Allow or prevent persistent links.
  915. mssql.allow_persistent = On
  916.  
  917. ; Maximum number of persistent links.  -1 means no limit.
  918. mssql.max_persistent = -1
  919.  
  920. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  921. mssql.max_links = -1
  922.  
  923. ; Minimum error severity to display.
  924. mssql.min_error_severity = 10
  925.  
  926. ; Minimum message severity to display.
  927. mssql.min_message_severity = 10
  928.  
  929. ; Compatability mode with old versions of PHP 3.0.
  930. mssql.compatability_mode = Off
  931.  
  932. ; Connect timeout
  933. ;mssql.connect_timeout = 5
  934.  
  935. ; Query timeout
  936. ;mssql.timeout = 60
  937.  
  938. ; Valid range 0 - 2147483647.  Default = 4096.
  939. ;mssql.textlimit = 4096
  940.  
  941. ; Valid range 0 - 2147483647.  Default = 4096.
  942. ;mssql.textsize = 4096
  943.  
  944. ; Limits the number of records in each batch.  0 = all records in one batch.
  945. ;mssql.batchsize = 0
  946.  
  947. ; Specify how datetime and datetim4 columns are returned
  948. ; On => Returns data converted to SQL server settings
  949. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  950. ;mssql.datetimeconvert = On
  951.  
  952. ; Use NT authentication when connecting to the server
  953. mssql.secure_connection = Off
  954.  
  955. ; Specify max number of processes. Default = 25
  956. ;mssql.max_procs = 25
  957.  
  958. [Assertion]
  959. ; Assert(expr); active by default.
  960. ;assert.active = On
  961.  
  962. ; Issue a PHP warning for each failed assertion.
  963. ;assert.warning = On
  964.  
  965. ; Don't bail out by default.
  966. ;assert.bail = Off
  967.  
  968. ; User-function to be called if an assertion fails.
  969. ;assert.callback = 0
  970.  
  971. ; Eval the expression with current error_reporting().  Set to true if you want
  972. ; error_reporting(0) around the eval().
  973. ;assert.quiet_eval = 0
  974.  
  975. [Ingres II]
  976. ; Allow or prevent persistent links.
  977. ingres.allow_persistent = On
  978.  
  979. ; Maximum number of persistent links.  -1 means no limit.
  980. ingres.max_persistent = -1
  981.  
  982. ; Maximum number of links, including persistents.  -1 means no limit.
  983. ingres.max_links = -1
  984.  
  985. ; Default database (format: [node_id::]dbname[/srv_class]).
  986. ingres.default_database =
  987.  
  988. ; Default user.
  989. ingres.default_user =
  990.  
  991. ; Default password.
  992. ingres.default_password =
  993.  
  994. [Verisign Payflow Pro]
  995. ; Default Payflow Pro server.
  996. pfpro.defaulthost = "test-payflow.verisign.com"
  997.  
  998. ; Default port to connect to.
  999. pfpro.defaultport = 443
  1000.  
  1001. ; Default timeout in seconds.
  1002. pfpro.defaulttimeout = 30
  1003.  
  1004. ; Default proxy IP address (if required).
  1005. ;pfpro.proxyaddress =
  1006.  
  1007. ; Default proxy port.
  1008. ;pfpro.proxyport =
  1009.  
  1010. ; Default proxy logon.
  1011. ;pfpro.proxylogon =
  1012.  
  1013. ; Default proxy password.
  1014. ;pfpro.proxypassword =
  1015.  
  1016. [Sockets]
  1017. ; Use the system read() function instead of the php_read() wrapper.
  1018. sockets.use_system_read = On
  1019.  
  1020. [com]
  1021. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  1022. ;com.typelib_file = 
  1023. ; allow Distributed-COM calls
  1024. ;com.allow_dcom = true
  1025. ; autoregister constants of a components typlib on com_load()
  1026. ;com.autoregister_typelib = true
  1027. ; register constants casesensitive
  1028. ;com.autoregister_casesensitive = false
  1029. ; show warnings on duplicate constat registrations
  1030. ;com.autoregister_verbose = true
  1031.  
  1032. [Printer]
  1033. ;printer.default_printer = ""
  1034.  
  1035. [mbstring]
  1036. ; language for internal character representation.
  1037. ;mbstring.language = Japanese
  1038.  
  1039. ; internal/script encoding.
  1040. ; Some encoding cannot work as internal encoding.
  1041. ; (e.g. SJIS, BIG5, ISO-2022-*)
  1042. ;mbstring.internal_encoding = EUC-JP
  1043.  
  1044. ; http input encoding.
  1045. ;mbstring.http_input = auto
  1046.  
  1047. ; http output encoding. mb_output_handler must be
  1048. ; registered as output buffer to function
  1049. ;mbstring.http_output = SJIS
  1050.  
  1051. ; enable automatic encoding translation accoding to 
  1052. ; mbstring.internal_encoding setting. Input chars are
  1053. ; converted to internal encoding by setting this to On.
  1054. ; Note: Do _not_ use automatic encoding translation for
  1055. ;       portable libs/applications.
  1056. ;mbstring.encoding_translation = Off
  1057.  
  1058. ; automatic encoding detection order.
  1059. ; auto means 
  1060. ;mbstring.detect_order = auto
  1061.  
  1062. ; substitute_character used when character cannot be converted
  1063. ; one from another
  1064. ;mbstring.substitute_character = none;
  1065.  
  1066. ; overload(replace) single byte functions by mbstring functions.
  1067. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1068. ; etc. Possible values are 0,1,2,4 or combination of them.
  1069. ; For example, 7 for overload everything.
  1070. ; 0: No overload
  1071. ; 1: Overload mail() function
  1072. ; 2: Overload str*() functions
  1073. ; 4: Overload ereg*() functions
  1074. ;mbstring.func_overload = 0
  1075.  
  1076. [FrontBase]
  1077. ;fbsql.allow_persistent = On
  1078. ;fbsql.autocommit = On
  1079. ;fbsql.default_database = 
  1080. ;fbsql.default_database_password =
  1081. ;fbsql.default_host =
  1082. ;fbsql.default_password =
  1083. ;fbsql.default_user = "_SYSTEM"
  1084. ;fbsql.generate_warnings = Off
  1085. ;fbsql.max_connections = 128
  1086. ;fbsql.max_links = 128
  1087. ;fbsql.max_persistent = -1
  1088. ;fbsql.max_results = 128
  1089. ;fbsql.batchSize = 1000
  1090.  
  1091. [Crack]
  1092. ; Modify the setting below to match the directory location of the cracklib
  1093. ; dictionary files.  Include the base filename, but not the file extension.
  1094. ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
  1095.  
  1096. [exif]
  1097. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 
  1098. ; With mbstring support this will automatically be converted into the encoding
  1099. ; given by corresponding encode setting. When empty mbstring.internal_encoding 
  1100. ; is used. For the decode settings you can distinguish between motorola and 
  1101. ; intel byte order. A decode setting cannot be empty.
  1102. ;exif.encode_unicode = ISO-8859-15
  1103. ;exif.decode_unicode_motorola = UCS-2BE
  1104. ;exif.decode_unicode_intel    = UCS-2LE
  1105. ;exif.encode_jis = 
  1106. ;exif.decode_jis_motorola = JIS
  1107. ;exif.decode_jis_intel    = JIS
  1108.  
  1109. ; Local Variables:
  1110. ; tab-width: 4
  1111. ; End:
  1112.